package com.ang.create.methodFactory;

import com.ang.create.simpleFactory.ConcreteProduct;
import com.ang.create.simpleFactory.Product;

/**
 * @author ANG.YU
 * @date 2020-09-21 16:24
 */
public class Client {
    public static void main(String[] args) {
        Factory factory = new Factory() {
            @Override
            public Product factoryMethod() {
                return new ConcreteProduct();
            }
        };
    }
}
